<% gcp_project_id = "#{external_attribute(pwd, 'gcp_project_id', doc_generation)}" -%>
<% runtimeconfig_config = grab_attributes(pwd)['runtimeconfig_config'] -%>
describe google_runtime_config_config(project: <%= gcp_project_id -%>, name: <%= doc_generation ? "'#{runtimeconfig_config['name']}'" : "runtimeconfig_config['name']" -%>) do
  it { should exist }
  its('description') { should cmp <%= doc_generation ? "'#{runtimeconfig_config['description']}'" : "runtimeconfig_config['description']" -%> }
end

describe google_runtime_config_config(project: <%= gcp_project_id -%>, name: 'nonexistent') do
  it { should_not exist }
end